package com.aqielife.demo.producer;

import com.aqielife.demo.dubbo.common.HelloServiceAPI;
import org.springframework.beans.factory.annotation.Value;

/**
 * @Author aqie
 * @Date 2022/2/10 14:41
 * @desc
 */
public class HelloServiceImpl implements HelloServiceAPI {
    @Value("${server.port}")
    private int serverPort;

    @Override
    public String sayHello(String message) {
        return "Producer response 2 : Hello " +message + " , port : "+ serverPort;
    }
}
